<template>
	<!-- 系统设置  -->
	<view class="setting-container">
		<view class="btn" @click="LogOut">退出登录</view>
	</view>
</template>

<script>
	export default{
		data() {
			return{
				//
			}
		},
		methods:{
			LogOut() {
				uni.reLaunch({
					url:'../Login/Login',
					success() {
						uni.showToast({
							title:'退出成功',
							icon:'none'
						})
					}
				})
			}
		}
	}
</script>

<style lang="scss" scoped>
	.setting-container{
		display: flex;
		justify-content: center;
		align-items: center;
		min-height: 100vh;
		.btn{
			width: 600rpx;
			height: 80rpx;
			border-radius: 40rpx;
			color: #fff;
			display: flex;
			justify-content: center;
			align-items: center;
			font-size: 30rpx;
			background-color: #007AFF;
		}
	}
</style>
